package org.toves.checklua.parse;

import org.toves.checklua.ast.Complaint;

@SuppressWarnings("serial")
public class ParseException extends RuntimeException {
	private Complaint complaint;
	
	ParseException(Complaint complaint) {
		super(complaint.toString());
		this.complaint = complaint;
	}

	public Complaint getComplaint() {
		return complaint;
	}
}